package DTO;

import java.io.Serializable;
import java.math.BigDecimal;

public class TicketDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private int ticketID;

	private BigDecimal price;

	private PassengerDTO passenger;

	private ScheduleDTO schedule;

	public TicketDTO() {
	}

	public int getTicketID() {
		return this.ticketID;
	}

	public void setTicketID(int ticketID) {
		this.ticketID = ticketID;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public PassengerDTO getPassenger() {
		return this.passenger;
	}

	public void setPassenger(PassengerDTO passenger) {
		this.passenger = passenger;
	}

	public ScheduleDTO getSchedule() {
		return this.schedule;
	}

	public void setSchedule(ScheduleDTO schedule) {
		this.schedule = schedule;
	}

}
